<template>
  <div class="flex-row">
   
    <div class="item">
      <div class="title">
        <icon-svg class="icon-state" style="color:#FF9800;" icon="daifahuo" />12
      </div>
      <el-button type="text" style="padding: 4px 0; color: #FF9800;">查看</el-button>
    </div>
    <div class="item">
      <div class="title">
        <icon-svg class="icon-state" style="color:#2196F3;" icon="yifahuo" />12
      </div>
      <el-button type="text" style="padding: 4px 0; color: #2196F3;">查看</el-button>
    </div>
    <div class="item">
      <div class="title">
        <icon-svg class="icon-state" style="color:green;" icon="dingdanwancheng" />12
      </div>
      <el-button type="text" style="padding: 4px 0; color: green;">查看</el-button>
    </div>
    <div class="item">
      <div class="title">
        <icon-svg class="icon-state" style="color:#FF5722;" icon="shouhou" />12
      </div>
      <el-button type="text" style="padding: 4px 0; color: #FF5722;">查看</el-button>
    </div>
  
  </div>
</template>

<script>
export default {
  props: {
    item: {
      type: Object,
      default: () => {}
    }
  }
};
</script>

<style lang="scss" scoped>
ul {
  line-height: normal;
  li {
    
    cursor: pointer;
    .icon-state {
      width: 1.2em;
      height: 1.2em;
      margin-right: 5px;
    }
  }
}
.item {
  margin-right: 10px;
  &:last-child {
    margin-right: 0px;
  }
  .title{
    .icon-state {
      width: 1.2em;
      height: 1.2em;
      margin-right: 5px;
    }
  }
}
</style>
